package com.gxa.modules.app.outpatient.medicalrecord.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.modules.model.dto.InpatientDto;
import com.gxa.modules.model.entity.hospital.MedicalRecordMailing;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * 作者 yuanqiufeng
 * Date 2022/11/14
 */
@Mapper
public interface MedicalRecordMailingMapper extends BaseMapper<MedicalRecordMailing> {
    public List<MedicalRecordMailing> queryAll(@Param("accountId") Integer accountId, @Param("startDate") Date startDate, @Param("endDate") Date endDate);

    public void addMedicalRecordMailing(MedicalRecordMailing medicalRecordMailing);

    public InpatientDto queryInpatientDetailById(String inpatientNum);

    public MedicalRecordMailing queryById(Integer id);
}
